package com.samebuilding.dao;

import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.AbstractTransactionalJUnit4SpringContextTests;
import org.springframework.test.context.transaction.TransactionConfiguration;
//do not configure the @RunWith(SpringJUnit4ClassRunner.class),or the transaction will not auto roll back.
@ContextConfiguration(locations = { "classpath:/applicationContext.xml" })   
@TransactionConfiguration(defaultRollback = true)   
public class DAOTestBase extends AbstractTransactionalJUnit4SpringContextTests {

}
